package org.codeart.factory.scheme02.service.impl;

import org.codeart.factory.scheme02.pojo.AwardInfo;
import org.codeart.factory.scheme02.pojo.ResponseInfo;
import org.codeart.factory.scheme02.service.IFreeGoods;

public class DiscountFreeGoods implements IFreeGoods {

    @Override
    public ResponseInfo sendFreeGoods(AwardInfo info) {
        System.out.println("向用户发放一张打折券: " + info.getUid() + ", " + info.getAwardNumber());
        return new ResponseInfo("200", "打折券发放成功!");
    }
}
